<!DOCTYPE html>
<html>
<head>
    <title>${config.objectDesc}</title>
${r'<#include "/sys/newheader.html"/>'}
</head>
<body>
<div id="rrapp" class="main-content">
    <div class="box box-main">
        <div class="box-header">
            <div class="box-title">
                <i class="fa fa-book"></i> ${config.objectDesc}管理
            </div>
            <div class="box-tools pull-right">
                <a href="javascript:void(0);" class="btn btn-default" id="btnSearch" title="查询" @click="toggle"><i
                        class="fa fa-filter"></i> {{btnText}}</a>
                <a class="btn btn-default" href="${config.objectName?uncap_first}_add.html"><i class="fa fa-plus"></i>
                    新增</a>
                <button type="button" class="btn btn-default" @click="update"><i class="fa fa-pencil"></i> 修改</button>
                <button type="button" class="btn btn-default" @click="del"><i class="fa fa-trash-o"></i> 删除</button>
            </div>
        </div>

        <div class="box-body">
            <div class="form-inline" v-show="isShowCond">
                <div class="form-group">
                    <button type="submit" class="btn btn-primary btn-sm" @click="query">查询</button>
                    <button type="reset" class="btn btn-default btn-sm" @click="reset">重置</button>
                </div>
            </div>
            <table id="jqGrid"></table>
            <div id="jqGridPager"></div>
        </div>
    </div>
</div>

<script src="${r"${base}"}/js/${config.model}/${config.objectName?uncap_first}.js?_${r"${.now?string['yyyyMMddhhmmSS']}"}"></script>
</body>
</html>